package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by ciko on 2015/12/8.
 */
public class UpdatePlanStatusReq extends BaseRequest {

    public UpdatePlanStatusReq(long planId, String status, String comment) {

        init();
        put("planId", planId);
        put("status" , status);
        put("comment" , comment);

        putCid(planId + status  + comment);
    }

    @Override
    public String getUrl() {
        return Api.updatePlanStatus;
    }

    @Override
    public Class<?> getResponseClazz() {
        return UpdatePlanStatusRes.class;
    }
}
